package com.example.rustfs.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 用户实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    
    private Long id;
    private String username;
    private String password;
    private String email;
    private String nickname;
    private Long storageUsed;  // 已使用存储空间（字节）
    private Long storageLimit; // 存储空间限制（字节）
    private LocalDateTime createTime;
    private LocalDateTime lastLoginTime;
}

